VAULT=/opt

export PATH=$HOME/bin:/opt/homebrew/bin:$PATH

# для единообразия билдов в студии и консоли
export JAVA_HOME=$HOME/Library/Java/JavaVirtualMachines/corretto-22.0.1/Contents/Home

export ANDROID_HOME=$VAULT/sdk/android
export ANDROID_SDK_ROOT=$VAULT/sdk/android
export ANDROID_SDK_HOME=$VAULT/sdk/android
export PATH=$ANDROID_SDK_HOME/cmdline-tools/latest/bin:$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/build-tools/35.0.0:$PATH

# node
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"  # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion

# dart
#export PATH=$HOME/sdk/.pub-cache/bin:$HOME/sdk/flutter/bin/cache/dart-sdk/bin:$PATH

# flutter
export CHROME_EXECUTABLE=/opt/homebrew/bin/chromium
export PATH=$VAULT/sdk/flutter/bin:$PATH

# ruby
export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.3.0/bin:$PATH

# i18n
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

# editors
export VISUAL=/opt/homebrew/bin/micro
export EDITOR=$VISUAL
